package org.jsets.fastboot.eventbus;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;
import lombok.extern.slf4j.Slf4j;

/**
 * 
 * 无订阅者事件监听器
 * 
 * @author wangjie
 *
 */
@Slf4j
public class DeadEventListener {

	@Subscribe
	public void listen(DeadEvent event) {
		if (log.isWarnEnabled()) {
			log.warn("死信监听， 事件[{}]无监听器", event.getEvent().getClass());
		}
	}

}